package com.mentaleye.dal.service;

import com.mentaleye.dal.model.AutoFormDataResource;
import com.mentaleye.dal.model.AutoFormDataResourceExample;
import com.mentaleye.dal.model.AutoFormDataResourceWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
public interface AutoFormDataResourceMapper {
    int countByExample(AutoFormDataResourceExample example);

    int deleteByExample(AutoFormDataResourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AutoFormDataResourceWithBLOBs record);

    int insertSelective(AutoFormDataResourceWithBLOBs record);

    List<AutoFormDataResourceWithBLOBs> selectByExampleWithBLOBs(AutoFormDataResourceExample example);

    List<AutoFormDataResource> selectByExample(AutoFormDataResourceExample example);

    AutoFormDataResourceWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AutoFormDataResourceWithBLOBs record, @Param("example") AutoFormDataResourceExample example);

    int updateByExampleWithBLOBs(@Param("record") AutoFormDataResourceWithBLOBs record, @Param("example") AutoFormDataResourceExample example);

    int updateByExample(@Param("record") AutoFormDataResource record, @Param("example") AutoFormDataResourceExample example);

    int updateByPrimaryKeySelective(AutoFormDataResourceWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(AutoFormDataResourceWithBLOBs record);

    int updateByPrimaryKey(AutoFormDataResource record);

     List<Map<String, Object>> selectByMap(Map<String, Object> paramMap);
    List<Map<String, Object>> selectBySql(@Param("sql")String  sql);
}